﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"  
    ><!--xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"-->
    <!--xmlns:layoutToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Layout.Toolkit" 
    -->

    <LinearGradientBrush x:Key="MainPageBackgroundBrush"  StartPoint="0.5,0" EndPoint="0.5,1">
        <GradientStop Color="#8885B7D0" Offset="0.1" />
        <GradientStop Color="#CCA4DAF3" Offset="0.652" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Key="MenuItemBackgroundBrush"  StartPoint="0.5,0" EndPoint="0.5,1">
        <GradientStop Color="#88889297" Offset="0.1" />
        <GradientStop Color="#CC88CBEB" Offset="0.652" />
    </LinearGradientBrush>
    
    <LinearGradientBrush x:Key="MenuDetailBackgroundBrush"  StartPoint="0.5,0" EndPoint="0.5,1">
        <GradientStop Color="#88CBE2ED" Offset="0.1" />
        <GradientStop Color="#CC55B5E4" Offset="0.652" />
    </LinearGradientBrush>


    <SolidColorBrush x:Key="SubmitDialogBackgroundBrush" Color="LightSkyBlue"></SolidColorBrush>

    <SolidColorBrush x:Key="SubmitDialogSelectedBrush" Color="AliceBlue"></SolidColorBrush>

    
    <!--  //TODO: Can't quite make tooltip on district summary datagrid work; maybe this will help http://stackoverflow.com/questions/1735573/unable-to-set-datagridcolumns-tooltip -->
    <!--<Setter Property="ToolTipService.ToolTip" Value="{Binding Column.(ToolTipService.ToolTip), RelativeSource={RelativeSource Self}}"></Setter>-->
    <Style x:Key="SummaryDataGridColumnHeaderStyle" TargetType="sdk:DataGridColumnHeader" >
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="ContentTemplate">
            <Setter.Value>
                <DataTemplate>
                    <ContentControl Content="{Binding}">
                        <ToolTipService.ToolTip>
                            <ToolTip Content="Tooltip here soon!"></ToolTip>
                        </ToolTipService.ToolTip>
                    </ContentControl>
                </DataTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="SummaryDataGridCellStyle" TargetType="sdk:DataGridCell">
        <Setter Property="HorizontalContentAlignment" Value="Right"/>
    </Style>


    
    <Style x:Key="stkPnlListStyle" TargetType="StackPanel">
        <Setter Property="Margin" Value="0" />
        <Setter Property="Background" Value="{StaticResource MenuItemBackgroundBrush}" />
    </Style>
    <Style x:Key="bdrHeaderStyle" TargetType="Border">
        <Setter Property="BorderBrush" Value="Black" />
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="Margin" Value="0" />
        <Setter Property="Background" Value="{StaticResource MenuItemBackgroundBrush}" />
    </Style>
    <Style x:Key="bdrMenuStyle" TargetType="Border">
        <Setter Property="BorderBrush" Value="Black" />
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="Margin" Value="0" />
        <Setter Property="Background" Value="{StaticResource MenuItemBackgroundBrush}" />
    </Style>
    <Style x:Key="bdrDataStyle" TargetType="Border">
        <Setter Property="BorderBrush" Value="Black" />
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="Margin" Value="0" />
        <Setter Property="Background" Value="{StaticResource MenuItemBackgroundBrush}" />
    </Style>
    <Style x:Key="lblAppTitleStyle" TargetType="sdk:Label">
        <Setter Property="FontSize" Value="10" />
        <Setter Property="FontWeight" Value="Bold" />
        <Setter Property="HorizontalAlignment" Value="Left" />
    </Style>
    <Style x:Key="lblTitleStyle" TargetType="sdk:Label">
        <Setter Property="FontSize" Value="20" />
        <Setter Property="FontWeight" Value="Bold" />
        <Setter Property="Margin" Value="2" />
        <Setter Property="HorizontalAlignment" Value="Center" />
    </Style>

    <Style x:Key="lblMessageStyle" TargetType="sdk:Label">
        <Setter Property="FontSize" Value="12" />
        <Setter Property="FontWeight" Value="Bold" />
        <Setter Property="Margin" Value="2" />
        <Setter Property="HorizontalAlignment" Value="Center" />
    </Style>
    <Style x:Key="lblHeaderStyle" TargetType="sdk:Label">
        <Setter Property="FontSize" Value="9" />
        <Setter Property="FontWeight" Value="Bold" />
        <Setter Property="Margin" Value="2" />
        <Setter Property="HorizontalAlignment" Value="Center" />
    </Style>
    <Style x:Key="lblDataStyle" TargetType="sdk:Label">
        <Setter Property="FontSize" Value="9" />
        <Setter Property="Margin" Value="0,0,0,0" />
        <Setter Property="HorizontalAlignment" Value="Right" />
    </Style>
    <Style x:Key="LabelStyle" TargetType="sdk:Label">
        <Setter Property="FontSize" Value="9" />
        <Setter Property="Margin" Value="2,0,0,0" />
    </Style>

    <Style x:Key="ButtonStyle" TargetType="Button">
        <Setter Property="Background" Value="{StaticResource MenuItemBackgroundBrush}" />
        <Setter Property="FontSize" Value="9" />
        <Setter Property="Margin" Value="2,0,0,0" />
    </Style>

    <Style x:Key="TxtBxStyle" TargetType="TextBox">
        <Setter Property="FontSize" Value="9" />
        <Setter Property="Margin" Value="2,0,2,0" />
    </Style>

    <Style x:Key="TxtBxLatLonStyle" TargetType="TextBox">
        <Setter Property="FontSize" Value="9" />
        <Setter Property="Margin" Value="2,0,2,0" />
        <Setter Property="Background" Value="{StaticResource MainPageBackgroundBrush}" />
    </Style>

    <Style x:Key="TxtBlkStyle" TargetType="TextBlock">
        <Setter Property="FontSize" Value="9" />
        <Setter Property="Margin" Value="2,0,2,0" />
    </Style>

    <Style x:Key="TxtBlkHelpStyle" TargetType="TextBlock">
        <Setter Property="FontSize" Value="12" />
        <Setter Property="Margin" Value="2,0,2,0" />
    </Style>
    <Style x:Key="CmbBxStyle" TargetType="ComboBox">
        <Setter Property="FontSize" Value="9" />
        <Setter Property="Margin" Value="2,0,2,0" />
    </Style>

    <Style x:Key="grdStyle" TargetType="Grid">
        <Setter Property="Background" Value="{StaticResource MenuItemBackgroundBrush}" />
    </Style>

    <Style x:Key="PlanNewLabelStyle" TargetType="sdk:Label">
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Margin" Value="10"/>
        <Setter Property="HorizontalAlignment" Value="Left"/>
    </Style>
    
    <Style x:Key="PlanNewDataLabelStyle" TargetType="sdk:Label">
        <Setter Property="Margin" Value="5"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
    </Style>

    <Style x:Key="BuildTypeRadioButton" TargetType="RadioButton" >
        <Setter Property="Margin" Value="5 0 0 0"    />
        <Setter Property="HorizontalAlignment" Value="Center"    />
        <Setter Property="VerticalAlignment" Value="Center"    />
    </Style>


    <Style x:Key="BuildTypeRadioButtonBorder" TargetType="Border">
        <Setter Property="Margin" Value="4"    />
        <Setter Property="BorderBrush" Value="Black"    />
        <Setter Property="BorderThickness" Value=".5"    />
        <Setter Property="CornerRadius" Value="10"    />
    </Style>
    
    <Style x:Key="BuildTypeRadioButtonText" TargetType="TextBlock">
        <Setter Property="Foreground" Value="#2b2b2d"    />
        <Setter Property="FontSize" Value="12"    />
        <Setter Property="Margin" Value="0 0 5 0"    />
        <Setter Property="VerticalAlignment" Value="Center"    />
    </Style>

    <Style x:Key="MenuGroupToggleButton" TargetType="RadioButton">
        <!-- <Setter Property="Width" Value="100"/> -->
        <Setter Property="Height" Value="25"/>

        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="RadioButton">
                    <Border BorderBrush="DarkGray" BorderThickness="3" CornerRadius="3" Background="AntiqueWhite">
                        <!-- The ContentPresenter tags are used to insert  on the button face for reuse -->
                        <ContentPresenter></ContentPresenter>
                    </Border>
                </ControlTemplate>

            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="MenuGroupBorder" TargetType="Border">
        <Setter Property="BorderThickness" Value="2"/>
        <Setter Property="BorderBrush" Value="Black"/>
    </Style>
</ResourceDictionary>
